# Contributor: Grigory Kirillov <txgk@bk.ru>
# Maintainer: Will Sinatra <wpsinatra@gmail.com>
pkgname=roffit
pkgver=0.15
pkgrel=2
pkgdesc="Command line tool that reads nroff and outputs HTML"
url="https://daniel.haxx.se/projects/roffit"
arch="noarch"
license="curl"
options="!check" # no test suite
depends="perl"
subpackages="$pkgname-doc"
source="https://github.com/bagder/roffit/archive/$pkgver/roffit-$pkgver.tar.gz"

package() {
	install -Dm755 roffit "$pkgdir"/usr/bin/roffit
	install -Dm644 roffit.1 "$pkgdir"/usr/share/man/man1/roffit.1
	install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/roffit/LICENSE
}

sha512sums="
1ee7bdcee612a099f485a7e93620287fe518aa83cfb653f929d20b1c0f5d77364b50813e86362e98db889f19947c2f89e0265aa868a5ec35b07e5cd3e34c17d5  roffit-0.15.tar.gz
"
